<?php
  class dimension extends CI_Controller{
      public function get($idFact=''){
          $this->load->library('tabletojson');
          
          echo json_encode($this->tabletojson->GetByField('sys_dimension', Array("idFact" => $idFact)));
          
      }
  }
?>
